import Vue from 'vue'
import Vuex from 'vuex'
import index from './modules/index'
import wsModel from './modules/wsModel'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    //
  },
  mutations: {
    //
  },
  // patchData({ commit }, data) {
  //   commit(`setData${data.type}`, data);
  // },
  modules: {
    index,wsModel
  },
})
export default store